package com.ruoyi.security.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 消防栓台账对象 omp_af_fir_hydrant
 *
 * @author cjie
 * @date 2022-01-22
 */
@Data
@ApiModel
public class AfFirHydrant extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty(value = "$column.columnComment")
    private String id;

    /** 删除标志 */
    @ApiModelProperty(value = "删除标志")
    private Long delFlag;

    /** 编码 */
    @Excel(name = "编码")
    @ApiModelProperty(value = "编码")
    private String devCode;

    /** 名称 */
    @Excel(name = "名称")
    @ApiModelProperty(value = "名称")
    private String devName;

    /** 规格 */
    @Excel(name = "规格")
    @ApiModelProperty(value = "规格")
    private String specification;

    /** 类型 */
    @Excel(name = "类型")
    @ApiModelProperty(value = "类型")
    private String type;

    /** 生产厂家 */
    @Excel(name = "生产厂家")
    @ApiModelProperty(value = "生产厂家")
    private String factory;

    /** 园区 */
    @Excel(name = "园区")
    @ApiModelProperty(value = "园区")
    private String parkId;

    /** 楼栋 */
    @Excel(name = "楼栋")
    @ApiModelProperty(value = "楼栋")
    private String buildingId;

    /** 位置 */
    @Excel(name = "位置")
    @ApiModelProperty(value = "位置")
    private String location;

    /** 投用日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "投用日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "投用日期")
    private Date useDate;

    /** 状态 */
    @Excel(name = "状态")
    @ApiModelProperty(value = "状态")
    private String devStatus;

    @Excel(name = "资产类型")
    @ApiModelProperty(value = "资产类型")
    private String deviceType;

    @Excel(name = "园区名称")
    @ApiModelProperty(value = "园区名称")
    private String parkName;

    @Excel(name = "楼栋名称")
    @ApiModelProperty(value = "楼栋名称")
    private String buildingName;

    /** 消防栓配套信息 */
    private List<AfHydrantDetail> afHydrantDetailList;


}
